Mutter's plugin destroy event doesn't happen if a window is hidden
when it gets unmanaged so we also need to handle the
MetaWindow::unmanaged signal to check whether the parent should
dimmed.
https://bugzilla.gnome.org/show_bug.cgi?id=752524
actor._windowType = type;
}));
+ actor.meta_window.connect('unmanaged', Lang.bind(this, function(window) {
+ let parent = window.get_transient_for();
+ if (parent)
+ this._checkDimming(parent);
+ }));
if (actor.meta_window.is_attached_dialog())
this._checkDimming(actor.get_meta_window().get_transient_for());